package com.lalifa.googledate.ui.activity.set

import com.lalifa.base.BaseTitleActivity
import com.lalifa.extension.onClick
import com.lalifa.googledate.R
import com.lalifa.googledate.databinding.ActivitySetOneBinding

class SetOneActivity : BaseTitleActivity<ActivitySetOneBinding>() {
    override fun getViewBinding() = ActivitySetOneBinding.inflate(layoutInflater)
    override fun title() = getString(R.string.be_current)
    override fun initView() {

    }

    override fun onClick() {
        super.onClick()
        binding.apply {
            firstDay.onClick { }
            toTime.onClick { }
            check1.onClick {
                check1.isSelected = !check1.isSelected
            }
            check2.onClick {
                check2.isSelected = !check2.isSelected
            }
            check3.onClick {
                check3.isSelected = !check3.isSelected
            }
            check4.onClick {
                check4.isSelected = !check4.isSelected
            }
            check5.onClick {
                check5.isSelected = !check5.isSelected
            }
        }

    }
}